package cn.fl.audit.service;

import java.util.List;

import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.audit.condition.AudPrjPassOpQueryCondition;
import cn.fl.audit.vo.AudPrjPassOpVO;

/**
 * @Description: 信审通过意见 客户端服务层接口
 * @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 批量：batch* 查询集合：search*
 */
public interface IAudPrjPassOpService {
	
	/**
	 * 预览运营分析
	 * @param projectId
	 * @param proIntId
	 * @return
	 * @throws BaseException
	 */
	public String getPreviewoperationAnalysis(Long projectId,String proIntId)throws BaseException;
	
	/**
	 * 信审通过意见预览
	 * @param id
	 * @return
	 * @throws BaseException
	 */
	public String getPreviewString(Long id)throws BaseException;
	
	/**
	 * 条件查询信审通过意见
	 *  项目ID+流程实例ID  确定唯一信审通过意见
	 * @param qc
	 * @return
	 * @throws BaseException
	 */
	public AudPrjPassOpVO selectAudPrjPassOpVOByQc(AudPrjPassOpQueryCondition qc)throws BaseException;
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public AudPrjPassOpVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(AudPrjPassOpVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;
    
    /**
     * 删除
     * @param ids
     * @return
     */
    public boolean removeByIds(List<Long> ids)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(AudPrjPassOpVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;
    
    /**
     * 查询下拉框数据-执行政策标准
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchPolicyStandatrdsCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-是否符合标准
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchStandardCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-执行模板
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchExecuteTemplateCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-购车行为
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchBuyCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-资产实力(承租人/担保人)
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchLesseeAssetsCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-车辆配置
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchCarConfigCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-融资方案
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchFinancePlanCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-运营情况
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchOperationSituationCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-运营经验
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchOperationExperienceCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-第二还款来源
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchPaymentSourceCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-履行职责
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchFulfilCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-电话态度
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchAttitudeCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-可操作性评价
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchManeuverabilityCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-资产证明
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchAssetsProveCdList()throws BaseException;
    
    /**
     * 查询下拉框数据-与承租人关系
     * @return
     * @throws BaseException
     */
    public List<KeyValueVO> searchRelationshipCdList()throws BaseException;
    
}
